/**
 * 
 */
package org.cuny.test;

import java.util.Scanner;

/**
 * @author di.wd
 * 
 */
public class ConsoleSample 
{

	/**
	 * @param args
	 */
	public static void main( String[] args )
	{
		Scanner sc = new Scanner( System.in );

		String input = null;
		
		do
		{
			System.out.print( "Please enter a string : " );
			
			input = sc.nextLine();
			
			//do your job here
		}
		while ( !"quit".equalsIgnoreCase( input ) );
		
		System.out.println( "Quit Haha!" );
	}

}
